import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNext()) {
            int a = scanner.nextInt();
            int b = scanner.nextInt();
            int c = scanner.nextInt();
            //             System.out.println(c);
           int tmp=Math.max(Math.max(a,b),c);
            System.out.println(tmp);
        }
    }
}


